<include file="../header" />
<body class="J_scroll_fixed">
<script>

    $(document).ready(function() {


    });

</script>
<form class="well form-search" method="post" style="float:left;width:100%;" action="{:U('doctor/index')}">
    <div class="search_type cc mb10">
        <div class="mb10">
        <span class="mr20">
            医生名称：<input type="text" name="d#doctor_name-like" value="{$doctor_name}" />
            <button class="btn btn-primary" type="submit">搜索</button>
            <a class="btn" href="{:U('doctor/index')}">重置</a>
        </span>
        </div>
    </div>
</form>
<div class="wrap J_check_wrap">

    <table class="table table-hover table-bordered">
        <thead>
        <tr>
            <th>名称</th>
            <th>医院</th>
            <th>所在城市</th>
            <th>创建时间</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <foreach name="list" item="vo">
            <tr>
                <td>{$vo.doctor_name}</td>
                <td>{$vo.hospital_name}</td>
                <td>{$vo.city_name}</td>
                <td>{$vo.create_time}</td>
                <td>
                    <a href='{:U("doctor/edit",array("id"=>$vo["doctor_id"]))}'>修改</a>
                    <a href='{:U("doctor/remove",array("id"=>$vo["doctor_id"]))}'>删除</a>
                    <a href='{:U("doctor/notifyDoctor",array("id"=>$vo["doctor_id"]))}'>发送微信消息</a>
                </td>
            </tr>
        </foreach>
        </tbody>
    </table>
    <div class="pagination">{$page}</div>
</div>
<script src="__ROOT__/statics/js/common.js"></script>
</body>
</html>